  <div class="layui-card">
    <div class="layui-card-body">
<div class="layui-tab layui-tab-brief" lay-filter="user">
  <ul class="layui-tab-title">
    <li{if $type eq 'question'} class="layui-this"{/if}><a href="{:url('wendasns/user/index',['dispatch'=>'collect','type'=>'question'])}">问题</a></li>
    <li{if $type eq 'article'} class="layui-this"{/if}><a href="{:url('wendasns/user/index',['dispatch'=>'collect','type'=>'article'])}">文章</a></li>
  </ul>
  <div class="layui-tab-content" style="padding: 5px 0;">
    <div class="layui-tab-item layui-show">
   {volist name="logs" id="item"}
   <div class="list-item">
   {if $item.mold eq 'article'}
      <p><a href="{:url('wendasns/article/show',$item.articles)}" style="color: #000;" target="_blank">{$item.articles.title}</a></p>
      <p style="color: #9EACB6;font-size: 12px;"><span>{:range_time($item.create_time)}</span> · <span>阅读 {$item.articles.visits}</span></p>
    {else}
      <p><a href="{:url('wendasns/question/show',$item.questions)}" style="color: #000;" target="_blank">{$item.questions.title}</a></p>
      <p style="color: #9EACB6;font-size: 12px;"><span>{:range_time($item.create_time)}</span> · <span>阅读 {$item.questions.visits}</span></p>
    {/if}
    </div>
    <hr>
    {/volist}
      <div class="pager">{$logs->render()|raw}</div>
    </div>
  </div>
</div>
  </div>
</div>